//package com.zmn.plat.dubbo.controller;
//
//import com.zmn.common.dto2.ResponseDTO;
//import com.zmn.plat.common.dto.product.graphic.ProductGraphicDIO;
//import com.zmn.plat.common.dto.product.graphic.ProductGraphicDRO;
//import com.zmn.plat.dubbo.interfaces.product.graphic.GraphisListRemotService;
//import com.zmn.plat.dubbo.utils.DubboConsts;
//import org.apache.dubbo.config.annotation.Reference;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.List;
//
///**
// * 类描述：
// *
// * @author yangshuangping
// * @since 2021/12/14 10:14
// */
//@RestController
//@RequestMapping("/garphic/")
//public class ProductGarphicContoller {
//
//    @Reference(version = DubboConsts.INTERFACE_VERSION, check = false)
//    private GraphisListRemotService graphisListRemotService;
//
//    @RequestMapping(value = "/graphisListRemotService", method = RequestMethod.POST)
//    public ResponseDTO graphisListRemotService(@RequestBody ProductGraphicDIO dio) {
//        long start = System.currentTimeMillis();
//
//        final ResponseDTO<List<ProductGraphicDRO>> listResponseDTO = graphisListRemotService
//                .listByProductIds(dio.getProductId());
//        long end = System.currentTimeMillis();
//        System.out.print("耗时：" + (end - start));
//        return listResponseDTO;
//    }
//}
